import type { PackageData } from '../types'

export function useProcurementPackage(emit: any) {
  const updateData = (data: Partial<PackageData>) => {
    emit('update', data)
  }

  return {
    updateData
  }
}